Skip to content

add claudemd#136

Open
roninsightrx wants to merge 1 commit intomasterfrom
claude-md
Open

add claudemd#136
roninsightrx wants to merge 1 commit intomasterfrom
claude-md

Conversation

@roninsightrx
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a CLAUDE.md guide intended to help Claude Code work effectively in the PKPDsim repository by documenting common dev commands, high-level architecture, key files, CI, and dependencies.

Changes:

  • Introduces CLAUDE.md with development commands and repository architecture notes.
  • Documents the R/C++ simulation pipeline, model formats, variability modeling, and CI workflows.
  • Summarizes core dependencies and testing guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +11 to +16
```bash
# Load package for interactive development
devtools::load_all()

# Run all tests
devtools::test()
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fenced code block is labeled as bash, but it contains R expressions (e.g., devtools::load_all(), devtools::test()). Using r/R (or leaving the language unspecified) would avoid misleading syntax highlighting and copy/paste errors in terminals.

Copilot uses AI. Check for mistakes.

### Testing patterns

Tests live in `tests/testthat/` (51 files). Snapshot tests in `tests/testthat/_snaps/` validate complex numerical outputs. Update snapshots with `testthat::snapshot_review()` when intentional output changes occur.
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section appears out of sync with the repo: tests/testthat/_snaps/ does not exist, and there are currently 46 test_*.R files under tests/testthat/ (not 51). Consider removing the hard-coded count and either correcting the snapshots location or dropping the snapshot instructions if snapshots aren’t used here.

Suggested change
Tests live in `tests/testthat/` (51 files). Snapshot tests in `tests/testthat/_snaps/` validate complex numerical outputs. Update snapshots with `testthat::snapshot_review()` when intentional output changes occur.
Tests live in `tests/testthat/`.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants